home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
os2
/
pp001.zip
/
EX1.PRG
next >
Wrap
Text File
|
1991-04-11
|
577b
|
13 lines
Program Test;
{ This is a sample program for the SIMPLE+ compiler
Requires version 0.12 or later
Comments go inside braces...
}
VAR { variable definitions }
a : integer; { all variables are assumed integer (for now) }
begin { begin..end - block statement }
a := 1; { assignment }
WriteLn(A); { write value of a, followed by CR/LF }
end. { period ends program }